#include <iostream>
#include <cstdio>
using namespace std;

int main(){
	double a=1.0/142000000,sum=0;
	for(int i=1;i<=64;i++){
		sum+=a;
		a*=2;
	}
	cout<<sum;
	return 0;
}
